home *** CD-ROM | disk | FTP | other *** search
- Path: solaris.cc.vt.edu!tyagi
- From: tyagi@vt.edu (Dhawal Tyagi)
- Newsgroups: comp.unix.programmer,comp.unix.internals,comp.lang.c
- Subject: Re: C compiler Error on EXEC SQL
- Date: Tue, 16 Apr 1996 11:09:07 -0500
- Organization: Communications Network Services
- Message-ID: <tyagi-1604961109070001@news.vt.edu>
- References: <4kkej2$3ta@news.cc.utah.edu> <4knjii$i9s@nadine.teleport.com> <NEWTNews.829628398.26731.ggil@dialup.netvision.net.il>
- NNTP-Posting-Host: srishti.cns.vt.edu
- X-Newsreader: Yet Another NewsWatcher 2.2.0b6
-
- In article <NEWTNews.829628398.26731.ggil@dialup.netvision.net.il>,
- ggil@netvision.net.il wrote:
-
- In Article<4knjii$i9s@nadine.teleport.com>, <hksys@teleport.com> writes:
-
- > >I post this for my friend who has no access to the internet and would like
- to
- > >get help from C experts in the Net. She has a C program left over from a
- guy
- > >left the company. The C source code is included below as well as the
- compiler
- > >error generated by HP UNIX. What is the EXEC SQL instruction ? It doesn't
-
- The "EXEC SQL" instruction is used in embedded SQL program. the program is
- related to database access. To compile it with a C compiler, first you have
- to pre-compile it with a pre-compiler, one such precompiler is proc, which
- is used with Oracle database. The precompiler will generate a .c file from
- a .pc file, you can then compile it with a regular C compiler, of course
- you'll have to link to some other libs as well to make that EXEC SQL work.
-
- Hope this helps
-
- Regards
-
- Dhawal
- --
- Programmer/Analyst
- Communications Network Services.
- 1700 Pratt Dr., Blacksburg, VA 24061-0506
- Office phone # (540) 231-7973
- http://morse.cns.vt.edu:8000/~tyagi/tyagi.html
-